import Main from '@/components/main'
export const inventoryRouters = [
  {
    path: '/inventory',
    name: 'inventory',
    meta: {
      title: '库存调整单',
      sn: 'moms:scm:repairview'
    },
    component: Main,
    children: [
      {
        path: 'configuration_management_list',
        name: 'configuration_management_list',
        meta: {
          title: '库存调整单',
          icon: '_iconzhifufuwushangguanli',
          snMenu: 'configuration_management_list',
          sn: 'moms:scm:repairview'
        },
        component: () => import('@/view/inventory/supply/configuration-management/list.vue')
      },
      {
        path: 'configuration_management_new_receipt',
        name: 'configuration_management_new_receipt',
        meta: {
          title: '新增作废调整单',
          snMenu: 'configuration_management_list',
          hideInMenu: true,
          notCache: true,
          sn: 'moms:scm:repaircreate'
        },
        component: () => import('@/view/inventory/supply/configuration-management/new-receipt.vue')
      },
      {
        path: 'configuration_management_detail/:id',
        name: 'configuration_management_detail',
        meta: {
          title: '作废调整单详情',
          snMenu: 'configuration_management_list',
          hideInMenu: true,
          notCache: true,
          sn: 'moms:scm:repairdetail'
        },
        component: () => import('@/view/inventory/supply/configuration-management/detail.vue')
      }
    ]
  },
  {
    path: '/inventory_exchange',
    name: 'inventory_exchange',
    meta: {
      title: '兑换异常列表',
      sn: 'moms:scm:exchangefailedview'
    },
    component: Main,
    children: [
      {
        path: 'abnormal_list',
        name: 'abnormal_list',
        meta: {
          title: '兑换异常列表',
          icon: '_iconduihuanshangpinliebiao',
          snMenu: 'inventory_exchange',
          sn: 'moms:scm:exchangefailedview'
        },
        component: () => import('@/view/inventory/exchange.vue')
      }
    ]
  }
]
